<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2016-10-18
 * Time: 16:09
 */

return [

    'default_return_type'    => 'html',
    'view_replace_str' => [
        '__PUBLIC__' => '/static/' . request()->module() . '',
        '__JS__' =>  '/static/' . request()->module() . '/js',
        '__CSS__' =>  '/static/' . request()->module() . '/css',
        '__IMG__' => '/static/' . request()->module() . '/img',
        '__CDN__' => ITBOYE_CDN,
        '__SELF__'=>__SELF__,
        '__BASE__'=>SITE_URL,
        '__API__'=>SITE_URL.'/index.php'
    ],
    // 默认跳转页面对应的模板文件
    'dispatch_success_tmpl'  => APP_PATH . '/web/view/dispatch/dispatch_jump.tpl',
    'dispatch_error_tmpl'    => APP_PATH . '/web/view/dispatch/dispatch_jump.tpl',
    
    'by_api_config'=>[
        'alg'=>'md5_v3',
        'client_id'=>'by571846d03009e1',
        'client_secret'=>'964561983083ac622f03389051f112e5',
        'api_url'=> SITE_URL.'/index.php',
        'debug'=> false
    ],

    //微信支付配,
    'WXPAY_PAY_CONFIG'=>[
        'APPID'=>'wxbdcf4725f2e1968f',
        'APPSECRET'=>'4d6b9eec9ea14fdd3241b719380e496b',
        'MCHID'=>'1458000102',//304549
        'KEY'=>'a34510727f518ca713dad659410c51f7',//在微信发送的邮件中查看,patenerkey

        'NOTIFYURL'=>'http://dehong.8raw.com/weixin.php/weixin/Ajaxinform/ajaxinform',
        'JSAPICALLURL'=>'http://2test.8raw.com/index.php/Shop/OnlinePay/pay?showwxpaytitle=1',
        'SSLCERTPATH'=>'/alidata/8rawcert/10027619/apiclient_cert.pem',
        'SSLKEYPATH'=>'/alidata/8rawcert/10027619/apiclient_cert.pem',
        'CURL_PROXY_HOST' => "0.0.0.0",
        'CURL_PROXY_PORT' => '0',
        'REPORT_LEVENL' => 1,
        'PROCESS_URL'=>SITE_URL.'/index.php/Payback/wxpay',//异步处理地址
    ],

];